package com.cyzy.controller;

import com.cyzy.dto.R;
import org.apache.rocketmq.spring.core.RocketMQTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mq")
public class MQController {

    @Autowired
    private RocketMQTemplate rocketMQTemplate;

    @RequestMapping("/test")
    public R test(){


        return R.ok().message("微服务上线了。。。。。");
    }

}
